#!/usr/bin/env bash
set -euo pipefail

# To speed up GitHub cloning speed.
git config --global url."https://github.com.cnpmjs.org".insteadOf https://github.com

# Install Emacs
sudo pacman -S emacs
# Install Doom Emacs
git clone --depth 1 https://github.com/hlissner/doom-emacs ~/.emacs.d
## Link to my config
ln -s ~/repos/dotfiles/.doom.d ~/.doom.d
~/.emacs.d/bin/doom install
